package org.example.dao.dto.market;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.dao.entity.market.CBusiness;
import org.example.dao.entity.user.AuPermission;
import org.example.dao.entity.user.AuRole;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xluo
 * @date 2023/11/1 10:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessDto {

    private Long id;
    private CBusiness business;
    private List<AuRole> roleList = new ArrayList<>();
    private List<AuPermission> permissionList = new ArrayList<>();

}
